package com.zzvcom.persist.model.admin;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zzvcom.persist.model.IdEntity;

@Entity
@Table(name = "faq")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Faq extends IdEntity
{
	private String asker;

	private String question;
	@Lob
	@Column(nullable = true)
	private String detail;
	@Lob
	@Column(nullable = true)
	private String answer;

	private String addtime;

	private int seq;

	private String display;
	
	private String isnew;

	public String getIsnew()
	{
		return isnew;
	}

	public void setIsnew(String isnew)
	{
		this.isnew = isnew;
	}

	public String getAsker()
	{
		return asker;
	}

	public void setAsker(String asker)
	{
		this.asker = asker;
	}

	public String getQuestion()
	{
		return question;
	}

	public void setQuestion(String question)
	{
		this.question = question;
	}

	public String getDetail()
	{
		return detail;
	}

	public void setDetail(String detail)
	{
		this.detail = detail;
	}

	public String getAnswer()
	{
		return answer;
	}

	public void setAnswer(String answer)
	{
		this.answer = answer;
	}

	public String getAddtime()
	{
		return addtime;
	}

	public void setAddtime(String addtime)
	{
		this.addtime = addtime;
	}

	public int getSeq()
	{
		return seq;
	}

	public void setSeq(int seq)
	{
		this.seq = seq;
	}

	public String getDisplay()
	{
		return display;
	}

	public void setDisplay(String display)
	{
		this.display = display;
	}

}
